import Vue from 'vue'
const state = {
  userData: {},
  keywords: ''
}

const mutations = {
  LOGIN (state, data) {
    state.userData = data
  }, 
  KEYWORDS (state, data) {
    debugger
    state.keywords = data
  }
}

const actions = {
  loginAction ({ commit }, params) {
  
  
  }
}
const getters = {
  userData(state) {    
    return state.userData
  },
  keyword(state) {
    return state.keywords
  }
}
export default {
  state,
  actions,
  getters,
  mutations,
}
